!Include("UI.def")
 
MenuButton("UIMenuButton","ButtonWithListboxSmall","","","Pattern")
{
    Checked(0)
    Disabled(0)
    CanCallPress(0)
    CanCheck(0)
    MouseLeaveDestroyFocus(0)
    TextureCheckedAlpha(1.0)
    TextCheckedAlpha(1.0)
    TextureDisabledAlpha(1.0)
    TextDisabledAlpha(1.0)
    TextureFocusCheckAlpha(1.0)
    TextFocusCheckAlpha(1.0)
    CallPressPeriod(0.1)
    DoubleClick(0.3)
    Command(1)
    Notify(1)
    CanFocus(1)
    TextureFocusAlpha(1.0)
    TextFocusAlpha(1.0)
    SelKeyUp(200)
    SelKeyDown(208)
    Text("")
    TextAlpha(1.0)
//    TextColor(1.0,1.0,1.0)
    TextColor(1.0,0.61,0.02)
    Font("MenuSmall")
    FontScale(0.5)
    TextPosFlags(34)
    PatternFile("../uidef/ButtonWithListboxSmall.def")
    Mouse(1)
    Keyboard(1)
    Joy(1)
    Visible(1)
    ParentPositioning(0)
    PreviousElemPositioning(0)
    ParentAlignX(-1)
    ParentAlignY(-1)
    ParentSizingX(0)
    ParentSizingY(0)
    FrameCornerSize(2,2)
    //TextureID("BoxNoBack")
    TextureAlpha(0.8)
    LogicSize(0.5986328,0.1080729)
    LogicPos(0.0419921, 0.2304687)
 
    ControlObject("UIHorizontalListBox","ID_LISTBOX_A","Specific")
    {
        ListBoxCapacity(7)
        Command(1)
        Notify(1)
        CanFocus(1)
        TextureFocusAlpha(1.0)
        TextFocusAlpha(1.0)
        SelKeyUp(0)
        SelKeyDown(0)
        Text("")
        TextAlpha(1.0)
//	TextColor(1.0,1.0,1.0)
        TextColor(1.0,0.61,0.02)
        Font("MSSansSerif8")
        TextPosFlags(34)
        PatternFileElem()
        Mouse(1)
        Keyboard(1)
        Joy(1)
        Visible(1)
        ParentPositioning(1)
        PreviousElemPositioning(0)
        ParentAlignX(4)
        ParentAlignY(4)
        ParentSizingX(0)
        ParentSizingY(1)
        TextureAlpha(1.0)
        LogicSize(0.5,1.0)
        LogicPos(0.872549,0.09638554)
 
        Menu("UIMenu","ID_LIST","Specific")
        {
            Command(1)
            Notify(1)
            CanFocus(1)
            TextureFocusAlpha(1.0)
            TextFocusAlpha(1.0)
            SelKeyUp(0)
            SelKeyDown(0)
            Text("")
            TextAlpha(1.0)
//            TextColor(1.0,1.0,1.0)
            TextColor(1.0,0.61,0.02)
            Font("MSSansSerif8")
            TextPosFlags(34)
            PatternFileElem()
            Mouse(1)
            Keyboard(1)
            Joy(1)
            Visible(1)
            ParentPositioning(1)
            PreviousElemPositioning(0)
            ParentAlignX(4)
            ParentAlignY(4)
            ParentSizingX(1)
            ParentSizingY(1)
            TextureAlpha(1.0)
            LogicSize(1.0,1.0)
            LogicPos(0.001388804,0.0)
 
            MenuButton("UIButtonWithBackground","ID_BUTTON","","","Specific")
            {
                Checked(0)
                Disabled(0)
                CanCallPress(0)
                CanCheck(1)
                MouseLeaveDestroyFocus(1)
                CheckSound("data/sounds/click")
                TextureCheckedAlpha(1.0)
                TextCheckedAlpha(1.0)
                TextureDisabledAlpha(1.0)
                TextDisabledAlpha(1.0)
                TextureFocusCheckAlpha(1.0)
                TextFocusCheckAlpha(1.0)
//                TextCheckedColor(1.0,1.0,1.0)
                TextCheckedColor(1.0,0.61,0.02)
                CallPressPeriod(0.1)
                DoubleClick(0.3)
                Command(1)
                Notify(0)
                CanFocus(0)
                TextureFocusAlpha(1.0)
                TextFocusAlpha(1.0)
//                TextHighLightColor(1.0,1.0,1.0)
                TextHighLightColor(1.0,0.61,0.02)
                SelKeyUp(0)
                SelKeyDown(0)
                FocusSound("data/sounds/highlight")
                Text("")
                TextAlpha(1.0)
//                TextColor(1.0,1.0,1.0)
                TextColor(1.0,0.61,0.02)
                Font("HudFont")
                TextPosFlags(68)
                PatternFileElem()
                Mouse(1)
                Keyboard(1)
                Joy(1)
                Visible(0)
                ParentPositioning(1)
                PreviousElemPositioning(0)
                ParentAlignX(-1)
                ParentAlignY(4)
                ParentSizingX(0)
                ParentSizingY(0)
                FrameCornerSize(2,2)
                SpriteMaterial("sprite_button.mat")
                TextureAlpha(1.0)
                LogicSize(0.0849609375, 0.11328125)
                LogicPos(0.0419921875, 0.0)
            }// [UIButtonWithBackground] ID_BUTTON
 
            Window("UIWindow","ID_FRAME_LIST_A","Specific")
            {
                PatternFileElem()
                Mouse(0)
                Keyboard(0)
                Joy(0)
                Visible(1)
                ParentPositioning(1)
                PreviousElemPositioning(0)
                OtherElemAsParentPositioning("ID_LISTBOX_A")
                ParentAlignX(4)
                ParentAlignY(4)
                ParentSizingX(0)
                ParentSizingY(0)
                FrameCornerSize(0,0)
                TextureID("BoxThickNoBack")
                TextureAlpha(1.0)
                LogicSize(0.0849609375, 0.11328125)
                LogicPos(0.32291666,-0.012345679)
            }// [UIWindow] ID_FRAME_LIST_A
        }// [UIMenu] ID_LIST
 
        ControlObject("UIListBoxScrollBar","ID_SCROLL","Specific")
        {
            Command(1)
            Notify(1)
            CanFocus(0)
            TextureFocusAlpha(1.0)
            TextFocusAlpha(1.0)
            SelKeyUp(0)
            SelKeyDown(0)
            Text("")
            TextAlpha(1.0)
//            TextColor(1.0,1.0,1.0)
            TextColor(1.0,0.61,0.02)
            Font("MSSansSerif8")
            TextPosFlags(34)
            PatternFileElem()
            Mouse(1)
            Keyboard(1)
            Joy(1)
            Visible(1)
            ParentPositioning(1)
            PreviousElemPositioning(0)
            ParentAlignX(4)
            ParentAlignY(-1)
            ParentSizingX(0)
            ParentSizingY(0)
            FrameCornerSize(2,2)
            Texture("red")
            TextureAlpha(1.0)
            LogicSize(0.91,0.015)
            LogicPos(-1.0166667,-10.50617284)
 
            Button("UIButton","ID_UP","","Specific")
            {
                Checked(0)
                Disabled(0)
                CanCallPress(1)
                CanCheck(0)
                MouseLeaveDestroyFocus(1)
                CheckSound("data/sounds/click")
                TextureCheckedID("ArrowBigLeft")
                TextureCheckedAlpha(1.0)
                TextCheckedAlpha(1.0)
                TextureDisabledAlpha(0.4)
                TextDisabledAlpha(1.0)
                TextureFocusCheckAlpha(1.0)
                TextFocusCheckAlpha(1.0)
                CallPressPeriod(0.2)
                DoubleClick(0.3)
                Command(1)
                Notify(1)
                CanFocus(1)
                TextureHighlightID("ArrowBigLeft")
                TextureFocusAlpha(1.0)
                TextFocusAlpha(1.0)
                SelKeyUp(0)
                SelKeyDown(0)
                FocusSound("data/sounds/highlight")
                Text("")
                TextAlpha(1.0)
//                TextColor(1.0,1.0,1.0)
                TextColor(1.0,0.61,0.02)
                Font("MenuMedium")
                FontScale(0.8)
                TextPosFlags(34)
                PatternFileElem()
                Mouse(1)
                Keyboard(1)
                Joy(1)
                Visible(1)
                ParentPositioning(1)
                PreviousElemPositioning(0)
		OtherElemAsParentPositioning("ID_LISTBOX_A")
                ParentAlignX(-1)
                ParentAlignY(-1)
                ParentSizingX(0)
                ParentSizingY(0)
                TextureID("ArrowBigLeft")
                TextureAlpha(0.8)
                LogicSize(0.0107421875, 0.1067708333)
                LogicPos(-0.02134647, 0.012048192)

		Window("UIWindow","ID_MASK_LEFT_C","Specific")
                {
                    //PatternFileElem()
                    Mouse(0)
                    Keyboard(0)
                    Joy(0)
                    Visible(1)
                    ParentPositioning(1)
                    PreviousElemPositioning(0)
       		    OtherElemAsParentPositioning("ID_LISTBOX_A")
                    ParentAlignX(-1)
                    ParentAlignY(-1)
                    ParentSizingX(0)
                    ParentSizingY(0)
                    SpriteMaterial("sprite_hide.mat")
                    TextureRect("XR_Black.png",2.0,2.0,0.0,0.0,2.0,2.0)
                    TextureAlpha(0.33)
//                    LogicSize(0.0439453125, 0.139322917)
                    LogicSize(0.046875, 0.139322917)
                    LogicPos(-0.08, -0.12048193)
                }// [UIWindow] ID_MASK_LEFT_A
            }// [UIButton] ID_UP
            
            Button("UIButton","ID_THUMB","","Specific")
            {
                Checked(0)
                Disabled(0)
                CanCallPress(0)
                CanCheck(0)
                MouseLeaveDestroyFocus(1)
                CheckSound("data/sounds/click")
                TextureCheckedAlpha(1.0)
                TextCheckedAlpha(1.0)
                TextureDisabledAlpha(1.0)
                TextDisabledAlpha(1.0)
                TextureFocusCheckAlpha(1.0)
                TextFocusCheckAlpha(1.0)
                CallPressPeriod(0.1)
                DoubleClick(0.3)
                Command(1)
                Notify(1)
                CanFocus(0)
                TextureFocusAlpha(1.0)
                TextFocusAlpha(1.0)
                SelKeyUp(0)
                SelKeyDown(0)
                FocusSound("data/sounds/highlight")
                Text("")
                TextAlpha(1.0)
//                TextColor(1.0,1.0,1.0)
                TextColor(1.0,0.61,0.02)
                Font("MSSansSerif8")
                TextPosFlags(34)
                PatternFileElem()
                Mouse(1)
                Keyboard(1)
                Joy(1)
                Visible(0)
                ParentPositioning(1)
                PreviousElemPositioning(0)
                ParentAlignX(4)
                ParentAlignY(-1)
                ParentSizingX(0)
                ParentSizingY(0)
                TextureAlpha(1.0)
                LogicSize(0.025,0.038333334)
                LogicPos(0.48626372,1.5555556)
            }// [UIButton] ID_THUMB
 
            Button("UIButton","ID_DOWN","","Specific")
            {
                Checked(0)
                Disabled(0)
                CanCallPress(1)
                CanCheck(0)
                MouseLeaveDestroyFocus(1)
                CheckSound("data/sounds/click")
                TextureCheckedID("ArrowBigRight")
                TextureCheckedAlpha(1.0)
                TextCheckedAlpha(1.0)
                TextureDisabledAlpha(0.4)
                TextDisabledAlpha(1.0)
                TextureFocusCheckAlpha(1.0)
                TextFocusCheckAlpha(1.0)
                CallPressPeriod(0.2)
                DoubleClick(0.3)
                Command(1)
                Notify(1)
                CanFocus(1)
                TextureHighlightID("ArrowBigRight")
                TextureFocusAlpha(1.0)
                TextFocusAlpha(1.0)
                SelKeyUp(0)
                SelKeyDown(0)
                FocusSound("data/sounds/highlight")
                Text("")
                TextAlpha(1.0)
//                TextColor(1.0,1.0,1.0)
                TextColor(1.0,0.61,0.02)
                Font("MenuMedium")
                FontScale(0.8)
                TextPosFlags(34)
                PatternFileElem()
                Mouse(1)
                Keyboard(1)
                Joy(1)
                Visible(1)
                ParentPositioning(1)
                PreviousElemPositioning(0)
                OtherElemAsParentPositioning("ID_LISTBOX_A")
                ParentAlignX(-1)
                ParentAlignY(-1)
                ParentSizingX(0)
                ParentSizingY(0)
                TextureID("ArrowBigRight")
                TextureAlpha(0.8)
                LogicSize(0.0107421875, 0.1067708333)
                LogicPos(1.0065682, 0.012048192)
	        
		Window("UIWindow","ID_MASK_RIGHT","Specific")
                {
                    //PatternFileElem()
                    Mouse(0)
                    Keyboard(0)
                    Joy(0)
                    Visible(1)
                    ParentPositioning(1)
                    PreviousElemPositioning(0)
		    OtherElemAsParentPositioning("ID_LISTBOX_A")
                    ParentAlignX(-1)
                    ParentAlignY(-1)
                    ParentSizingX(0)
                    ParentSizingY(0)
                    SpriteMaterial("sprite_hide.mat")
                    TextureRect("xr_black.png",2.0,2.0,0.0,0.0,2.0,2.0)
                    TextureAlpha(0.33)
                    LogicSize(0.6738281, 0.139322917)
                    LogicPos(1.0, -0.12048193)
	        }// [UIWindow] ID_MASK_RIGHT_A
            }// [UIButton] ID_DOWN
        
 
        }// [UIListBoxScrollBar] ID_SCROLL
    }// [UIHorizontalListBox] ID_LISTBOX_A
 

}// [UIMenuButton] ButtonWithListboxSmall
